#include<stdio.h>
#include<math.h>
int main()
{
    double a,b,c,disc,p,q,x1,x2;
    scanf("%lf%lf%lf",&a,&b,&c);
    disc=b*b-4*a*c;
    if(disc<0)
    {
        printf("this equation hasn't real roots!\n\b");


    }
    else
    {
        p=-b/(2.0*a);
        q=sqrt(disc)/(2.0*a);
        x1=p+q;
        x2=p-q;
        printf("the real roots of this equation is %3.1lf %3.1lf",x1,x2);

    }
    
}